package com.macro.mall.mapper;

import com.macro.mall.model.Opinion;
import com.macro.mall.model.OpinionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpinionMapper {
    long countByExample(OpinionExample example);

    int deleteByExample(OpinionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Opinion row);

    int insertSelective(Opinion row);

    List<Opinion> selectByExampleWithBLOBs(OpinionExample example);

    List<Opinion> selectByExample(OpinionExample example);

    Opinion selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Opinion row, @Param("example") OpinionExample example);

    int updateByExampleWithBLOBs(@Param("row") Opinion row, @Param("example") OpinionExample example);

    int updateByExample(@Param("row") Opinion row, @Param("example") OpinionExample example);

    int updateByPrimaryKeySelective(Opinion row);

    int updateByPrimaryKeyWithBLOBs(Opinion row);

    int updateByPrimaryKey(Opinion row);
}